package com.hm.oauth.model;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.oauth.def.OauthDef;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 下午4:16:30 2016年8月31日
 * @version 1.0
 * @describe 
 */
@Setter
@Getter
@Document(collection = OauthDef.DB.PREFIX + "authorize")
public class AuthorizeModel extends BaseModel{

	private static final long serialVersionUID = 1L;

	@Field("user_id")
	private String userId;
}
